<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/14
 * Time: 17:17
 */
$osac_oesid        = $route->bodyParams['osac_oesid'];                  //所属机构ID
$osac_year_month   = $route->bodyParams['osac_year_month'];            //年月
$osac_count        = $route->bodyParams['osac_count'];                  //应出勤天数


//写入数组
$insertArr = [
    'osac_oesid'         => $osac_oesid,
    'osac_year_month'   => $osac_year_month,
    'osac_count'         => $osac_count,
];
//执行写入语句
$rsData = $db->mysqlDB->insert("oa_should_attend_config",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );